package com.bz.match;

/**
 * @author zhongyongbin
 * @since 2021/5/17
 */
public class MatchResult {

    private final boolean ready;

    private final GameRoom room;

    public MatchResult(boolean ready) {
        this.ready = ready;
        this.room = null;
    }

    public MatchResult(boolean ready, GameRoom room) {
        this.ready = ready;
        this.room = room;
    }

    public boolean isReady() {
        return ready;
    }

    public GameRoom getRoom() {
        return room;
    }
}
